#exam5.5zhishu.py
#求一个范围内的质数，并打印出来
num = []
def su(a,b):
    for i in range(a,b):
        for j in range(2,int(b**0.5)):
            if i%j == 0:
                 break
        else:
            num.append(i)
    print(num)
su(2,100)

